/*
 从键盘输入整数，把整数进行累加求和，并统计偶数的个数，用户输入字母结束输入

 */
#include<stdio.h>
int main(){
	int num,sum=0,count;
	printf("input a number :");
	while(scanf("%d",&num) == 1){
		sum += num;
		if(num % 2 == 0){
			count++;
		}
		printf("input a number :");
	}
	printf("sum = %d, count = %d\n",sum,count);
	return 0;
}
